package com.bestcem.xm.deliver.service;

import com.bestcem.xm.deliver.grpc.client.dto.SmtpDto;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.Collection;

/**
 * 发送邮件相关服务
 *
 * @author panyun <yun.pan@idiaoyan.com>
 * @version v1.0
 * @date 2022/3/11 10:48
 */
public interface MailService {


    void sendEmail(@Nonnull Collection<String> receiveUsers, @Nullable Collection<String> ccUsers,
                   @Nonnull String subject, @Nonnull String content, String smtpId, SmtpDto smtp);
}
